package com.edu.mapper;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    User selectByNameAndPass(@Param("userName") String userName, @Param("password") String password);

    User selectByName(String userName);

    int insertUser(User user);
}
